/**
 *  会员模块接口
 * **/

import request from '@/common/request.js'
let url="http://shop.honghuoyi.com/index.php/hhyapi"

const shop_api={}

// 获取商品列表信息 
shop_api.goodsList = data => request.globalRequest({
	methods: 'POST',
	url:  url+'/goods/goodsList',   
	data: data, 
})

// 获取商品详情信息 
shop_api.goodsInfo = data => request.globalRequest({
	methods: 'POST',
	url:  url+'/goods/goodsInfo',   
	data: data, 
})

// 获取商品规格详情信息 
shop_api.goodsSpecInfo = data => request.globalRequest({
	methods: 'POST',
	url:  url+'/goods/getGoodsSpecinfo',   
	data: data, 
})

// 获取商品优惠券
shop_api.goodsCoupon = data => request.globalRequest({
	methods: 'POST',
	url:  url+'/goods/goodsCoupon',   
	data: data, 
})



 

export default shop_api






